package com.example.redis.sortedSet;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: dangwen
 * @createDate: 2021/7/4
 */
@Controller
public class Test {
    @Autowired
    private RedisTemplate<String, String> redisTemplate;
    @RequestMapping("test")
    public void test(){
//        redisTemplate.opsForZSet().
//        redisTemplate.opsForValue().setIfAbsent()
    }
}
